[INFO] cloning repository https://github.com/LaurentMazare/ultra
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LaurentMazare/ultra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentMazare%2Fultra", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentMazare%2Fultra'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f2f71eb5eda108f7bb6e3b568b2f56229e0b8cbc
[INFO] checking LaurentMazare/ultra against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentMazare%2Fultra" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LaurentMazare/ultra on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/LaurentMazare/ultra
[INFO] finished tweaking git repo https://github.com/LaurentMazare/ultra
[INFO] tweaked toml for git repo https://github.com/LaurentMazare/ultra written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/LaurentMazare/ultra already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 842cabcce6b297399bdbd93ae5cae2a2333ef12303348353f67cf44b1466d9e4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "842cabcce6b297399bdbd93ae5cae2a2333ef12303348353f67cf44b1466d9e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "842cabcce6b297399bdbd93ae5cae2a2333ef12303348353f67cf44b1466d9e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "842cabcce6b297399bdbd93ae5cae2a2333ef12303348353f67cf44b1466d9e4", kill_on_drop: false }`
[INFO] [stdout] 842cabcce6b297399bdbd93ae5cae2a2333ef12303348353f67cf44b1466d9e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 49b632556585c35c171f24fe629bec50feccc545cbecc876e9e754475d6cfac8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "49b632556585c35c171f24fe629bec50feccc545cbecc876e9e754475d6cfac8", kill_on_drop: false }`
[INFO] [stderr]     Checking enigma v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/main.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/encrypt.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |         for idx in (0us .. config.rotors.len() - 1) {
[INFO] [stdout]    |                     ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/main.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/encrypt.rs:72:29
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 for idx in (0us .. last_gray + 2) {
[INFO] [stdout]    |                             ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]    --> src/encrypt.rs:143:23
[INFO] [stdout]     |
[INFO] [stdout] 143 |     for rotor_idx in (0us .. ROTORS.len()) {
[INFO] [stdout]     |                       ^^^ invalid suffix `us`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/encrypt.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |         for idx in (0us .. config.rotors.len() - 1) {
[INFO] [stdout]    |                     ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/encrypt.rs:72:29
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 for idx in (0us .. last_gray + 2) {
[INFO] [stdout]    |                             ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]    --> src/encrypt.rs:143:23
[INFO] [stdout]     |
[INFO] [stdout] 143 |     for rotor_idx in (0us .. ROTORS.len()) {
[INFO] [stdout]     |                       ^^^ invalid suffix `us`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |         for i in (0us .. n) {
[INFO] [stdout]    |                   ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |     for idx in (0us .. text.len()) {
[INFO] [stdout]    |                 ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:62:43
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for rotor_config in Product::new(5u8, 3us) {
[INFO] [stdout]    |                                           ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:66:39
[INFO] [stdout]    |
[INFO] [stdout] 66 |         for key in Product::new(26u8, 3us) {
[INFO] [stdout]    |                                       ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 98 |         for rings in Product::new(26u8, 3us) {
[INFO] [stdout]    |                                         ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:50:20
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let args = os::args();
[INFO] [stdout]    |                    ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |         for i in (0us .. n) {
[INFO] [stdout]    |                   ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |     for idx in (0us .. text.len()) {
[INFO] [stdout]    |                 ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:62:43
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for rotor_config in Product::new(5u8, 3us) {
[INFO] [stdout]    |                                           ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:66:39
[INFO] [stdout]    |
[INFO] [stdout] 66 |         for key in Product::new(26u8, 3us) {
[INFO] [stdout]    |                                       ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `us` for integer literal
[INFO] [stdout]   --> src/cryptanalysis.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 98 |         for rings in Product::new(26u8, 3us) {
[INFO] [stdout]    |                                         ^^^ invalid suffix `us`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/encrypt.rs:66:20
[INFO] [stdout]    |
[INFO] [stdout] 66 |         for idx in (0us .. config.rotors.len() - 1) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/encrypt.rs:72:28
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 for idx in (0us .. last_gray + 2) {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/encrypt.rs:143:22
[INFO] [stdout]     |
[INFO] [stdout] 143 |     for rotor_idx in (0us .. ROTORS.len()) {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/cryptanalysis.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |         for i in (0us .. n) {
[INFO] [stdout]    |                  ^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/cryptanalysis.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 |     for idx in (0us .. text.len()) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:50:20
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let args = os::args();
[INFO] [stdout]    |                    ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/encrypt.rs:66:20
[INFO] [stdout]    |
[INFO] [stdout] 66 |         for idx in (0us .. config.rotors.len() - 1) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/encrypt.rs:72:28
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 for idx in (0us .. last_gray + 2) {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/encrypt.rs:143:22
[INFO] [stdout]     |
[INFO] [stdout] 143 |     for rotor_idx in (0us .. ROTORS.len()) {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/cryptanalysis.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |         for i in (0us .. n) {
[INFO] [stdout]    |                  ^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/cryptanalysis.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 |     for idx in (0us .. text.len()) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:14:27
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let key = args[2].as_slice(); 
[INFO] [stdout]    |                           ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let rings = args[3].as_slice();
[INFO] [stdout]    |                             ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:23:31
[INFO] [stdout]    |
[INFO] [stdout] 23 |             match io::stdin().read_line() {
[INFO] [stdout]    |                               ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:25:57
[INFO] [stdout]    |
[INFO] [stdout] 25 |                     let output = encrypt::encrypt(input.as_slice(), &rotor_config, key, rings);
[INFO] [stdout]    |                                                         ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 |     match io::stdin().read_line() {
[INFO] [stdout]    |                       ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:37:52
[INFO] [stdout]    |
[INFO] [stdout] 37 |             match cryptanalysis::brute_force(input.as_slice()) {
[INFO] [stdout]    |                                                    ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:41:59
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stdout]    |                                                           ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:41:90
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stdout]    |                                                                                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:41:108
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stdout]    |                                                                                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/encrypt.rs:185:162
[INFO] [stdout]     |
[INFO] [stdout] 185 | ...LEURPOURMOITONPROBLEMEEUTDEPAREILSAVANTAGES".as_slice(),
[INFO] [stdout]     |                                                 ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/encrypt.rs:186:162
[INFO] [stdout]     |
[INFO] [stdout] 186 | ...FCVUJVJWSMDJVQCZKEMBYLBJFIZRDZFCIQORVGBOBIT".as_slice(),
[INFO] [stdout]     |                                                 ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/encrypt.rs:187:35
[INFO] [stdout]     |
[INFO] [stdout] 187 |         &vec![ 0u8, 1, 2 ], "AAA".as_slice(), "AAA".as_slice()
[INFO] [stdout]     |                                   ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/encrypt.rs:187:53
[INFO] [stdout]     |
[INFO] [stdout] 187 |         &vec![ 0u8, 1, 2 ], "AAA".as_slice(), "AAA".as_slice()
[INFO] [stdout]     |                                                     ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/encrypt.rs:190:22
[INFO] [stdout]     |
[INFO] [stdout] 190 |         "HELLOWORLD".as_slice(),
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/encrypt.rs:191:22
[INFO] [stdout]     |
[INFO] [stdout] 191 |         "CDMOGOSHXC".as_slice(),
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/encrypt.rs:192:35
[INFO] [stdout]     |
[INFO] [stdout] 192 |         &vec![ 0u8, 1, 2 ], "LMZ".as_slice(), "AAA".as_slice()
[INFO] [stdout]     |                                   ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/encrypt.rs:192:53
[INFO] [stdout]     |
[INFO] [stdout] 192 |         &vec![ 0u8, 1, 2 ], "LMZ".as_slice(), "AAA".as_slice()
[INFO] [stdout]     |                                                     ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:14:27
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let key = args[2].as_slice(); 
[INFO] [stdout]    |                           ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let rings = args[3].as_slice();
[INFO] [stdout]    |                             ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:23:31
[INFO] [stdout]    |
[INFO] [stdout] 23 |             match io::stdin().read_line() {
[INFO] [stdout]    |                               ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:25:57
[INFO] [stdout]    |
[INFO] [stdout] 25 |                     let output = encrypt::encrypt(input.as_slice(), &rotor_config, key, rings);
[INFO] [stdout]    |                                                         ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 |     match io::stdin().read_line() {
[INFO] [stdout]    |                       ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:37:52
[INFO] [stdout]    |
[INFO] [stdout] 37 |             match cryptanalysis::brute_force(input.as_slice()) {
[INFO] [stdout]    |                                                    ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:41:59
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stdout]    |                                                           ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 26 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:41:90
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stdout]    |                                                                                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:41:108
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stdout]    |                                                                                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `enigma`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 18 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "49b632556585c35c171f24fe629bec50feccc545cbecc876e9e754475d6cfac8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49b632556585c35c171f24fe629bec50feccc545cbecc876e9e754475d6cfac8", kill_on_drop: false }`
[INFO] [stdout] 49b632556585c35c171f24fe629bec50feccc545cbecc876e9e754475d6cfac8
